MPHB\Libraries\WP_Background_Processing\WP_Background_Process A

Total Complexity 55
Dependencies 1
Dependents 0
Total lines 495
Lines of code 208
Logical lines of code 121
Comment lines 201
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
handle()
A
49 11 30
get_memory_limit()
S
62 4 11
is_queue_empty()
S
57 3 16
maybe_handle()
S
63 3 12
handle_cron_healthcheck()
S
65 3 11
get_batch()
S
52 2 25
schedule_cron_healthcheck()
S
61 2 11
clear_scheduled_event()
S
71 2 6
cancel_process()
S
69 2 7
is_process_running()
S
71 2 6
lock_process()
S
68 2 6
schedule_event()
S
73 2 5
update()
S
71 2 6
save()
S
69 2 7
memory_exceeded()
S
64 2 9
time_exceeded()
S
66 2 8
task()
S
100 1 0
__construct()
S
67 1 7
complete()
S
82 1 3
dispatch()
S
77 1 4
unlock_process()
S
76 1 4
generate_key()
S
71 1 5
delete()
S
77 1 4
push_to_queue()
S
76 1 4
after_task_done()
S
98 1 1